package org.example.dao;

import org.example.pojo.Teacher;

import java.util.List;

public interface TeacherDao {
    List<Teacher> queryAll();
    List<Teacher> queryByCondition(Teacher teacher);

    Boolean insert(Teacher teacher);
    Boolean delete(int account);
    Boolean update(Teacher teacher);

    Boolean addCourse(Teacher teacher);
    Boolean removeCourse(Teacher teacher);
}
